Type a page name and press Enter. You'll jump to the page if it exists, or you can create it if it doesn't.
To create a page in a module other than opengl32, prefix the name with the module name and a period.
opengl32 down load (opengl32)
.
C# Signature:
#region The OpenGL constant definitions.
// OpenGL Version Identifier
public const uint GL_VERSION_1_1 = 1;
// AccumOp
public const uint GL_ACCUM = 0x0100;
public const uint GL_LOAD = 0x0101;
public const uint GL_RETURN = 0x0102;
public const uint GL_MULT = 0x0103;
public const uint GL_ADD = 0x0104;
// Alpha functions
public const uint GL_NEVER = 0x0200;
public const uint GL_LESS = 0x0201;
public const uint GL_EQUAL = 0x0202;
public const uint GL_LEQUAL = 0x0203;
public const uint GL_GREATER = 0x0204;
public const uint GL_NOTEQUAL = 0x0205;
public const uint GL_GEQUAL = 0x0206;
public const uint GL_ALWAYS = 0x0207;
// AttribMask
public const uint GL_CURRENT_BIT = 0x00000001;
public const uint GL_POINT_BIT = 0x00000002;
public const uint GL_LINE_BIT = 0x00000004;
public const uint GL_POLYGON_BIT = 0x00000008;
public const uint GL_POLYGON_STIPPLE_BIT = 0x00000010;
public const uint GL_PIXEL_MODE_BIT = 0x00000020;
public const uint GL_LIGHTING_BIT = 0x00000040;
public const uint GL_FOG_BIT = 0x00000080;
public const uint GL_DEPTH_BUFFER_BIT = 0x00000100;
public const uint GL_ACCUM_BUFFER_BIT = 0x00000200;
public const uint GL_STENCIL_BUFFER_BIT = 0x00000400;
public const uint GL_VIEWPORT_BIT = 0x00000800;
public const uint GL_TRANSFORM_BIT = 0x00001000;
public const uint GL_ENABLE_BIT = 0x00002000;
public const uint GL_COLOR_BUFFER_BIT = 0x00004000;
public const uint GL_HINT_BIT = 0x00008000;
public const uint GL_EVAL_BIT = 0x00010000;
public const uint GL_LIST_BIT = 0x00020000;
public const uint GL_TEXTURE_BIT = 0x00040000;
public const uint GL_SCISSOR_BIT = 0x00080000;
public const uint GL_ALL_ATTRIB_BITS = 0x000fffff;
// BeginMode
public const uint GL_POINTS = 0x0000;
public const uint GL_LINES = 0x0001;
public const uint GL_LINE_LOOP = 0x0002;
public const uint GL_LINE_STRIP = 0x0003;
public const uint GL_TRIANGLES = 0x0004;
public const uint GL_TRIANGLE_STRIP = 0x0005;
public const uint GL_TRIANGLE_FAN = 0x0006;
public const uint GL_QUADS = 0x0007;
public const uint GL_QUAD_STRIP = 0x0008;
public const uint GL_POLYGON = 0x0009;
// BlendingFactorDest
public const uint GL_ZERO = 0;
public const uint GL_ONE = 1;
public const uint GL_SRC_COLOR = 0x0300;
public const uint GL_ONE_MINUS_SRC_COLOR = 0x0301;
public const uint GL_SRC_ALPHA = 0x0302;
public const uint GL_ONE_MINUS_SRC_ALPHA = 0x0303;
public const uint GL_DST_ALPHA = 0x0304;
public const uint GL_ONE_MINUS_DST_ALPHA = 0x0305;
// BlendingFactorSrc
public const uint GL_DST_COLOR = 0x0306;
public const uint GL_ONE_MINUS_DST_COLOR = 0x0307;
public const uint GL_SRC_ALPHA_SATURATE = 0x0308;
// Boolean
public const uint GL_TRUE = 1;
public const uint GL_FALSE = 0;
// ClipPlaneName
public const uint GL_CLIP_PLANE0 = 0x3000;
public const uint GL_CLIP_PLANE1 = 0x3001;
public const uint GL_CLIP_PLANE2 = 0x3002;
public const uint GL_CLIP_PLANE3 = 0x3003;
public const uint GL_CLIP_PLANE4 = 0x3004;
public const uint GL_CLIP_PLANE5 = 0x3005;
// DataType
public const uint GL_BYTE = 0x1400;
public const uint GL_UNSIGNED_BYTE = 0x1401;
public const uint GL_SHORT = 0x1402;
public const uint GL_UNSIGNED_SHORT = 0x1403;
public const uint GL_INT = 0x1404;
public const uint GL_UNSIGNED_INT = 0x1405;
public const uint GL_FLOAT = 0x1406;
public const uint GL_2_BYTES = 0x1407;
public const uint GL_3_BYTES = 0x1408;
public const uint GL_4_BYTES = 0x1409;
public const uint GL_DOUBLE = 0x140A;
// DrawBufferMode
public const uint GL_NONE = 0;
public const uint GL_FRONT_LEFT = 0x0400;
public const uint GL_FRONT_RIGHT = 0x0401;
public const uint GL_BACK_LEFT = 0x0402;
public const uint GL_BACK_RIGHT = 0x0403;
public const uint GL_FRONT = 0x0404;
public const uint GL_BACK = 0x0405;
public const uint GL_LEFT = 0x0406;
public const uint GL_RIGHT = 0x0407;
public const uint GL_FRONT_AND_BACK = 0x0408;
public const uint GL_AUX0 = 0x0409;
public const uint GL_AUX1 = 0x040A;
public const uint GL_AUX2 = 0x040B;
public const uint GL_AUX3 = 0x040C;
// ErrorCode
public const uint GL_NO_ERROR = 0;
public const uint GL_INVALID_ENUM = 0x0500;
public const uint GL_INVALID_VALUE = 0x0501;
public const uint GL_INVALID_OPERATION = 0x0502;
public const uint GL_STACK_OVERFLOW = 0x0503;
public const uint GL_STACK_UNDERFLOW = 0x0504;
public const uint GL_OUT_OF_MEMORY = 0x0505;
// FeedBackMode
public const uint GL_2D = 0x0600;
public const uint GL_3D = 0x0601;
public const uint GL_4D_COLOR = 0x0602;
public const uint GL_3D_COLOR_TEXTURE = 0x0603;
public const uint GL_4D_COLOR_TEXTURE = 0x0604;
// FeedBackToken
public const uint GL_PASS_THROUGH_TOKEN = 0x0700;
public const uint GL_POINT_TOKEN = 0x0701;
public const uint GL_LINE_TOKEN = 0x0702;
public const uint GL_POLYGON_TOKEN = 0x0703;
public const uint GL_BITMAP_TOKEN = 0x0704;
public const uint GL_DRAW_PIXEL_TOKEN = 0x0705;
public const uint GL_COPY_PIXEL_TOKEN = 0x0706;
public const uint GL_LINE_RESET_TOKEN = 0x0707;
// FogMode
public const uint GL_EXP = 0x0800;
public const uint GL_EXP2 = 0x0801;
// FrontFaceDirection
public const uint GL_CW = 0x0900;
public const uint GL_CCW = 0x0901;
// GetMapTarget
public const uint GL_COEFF = 0x0A00;
public const uint GL_ORDER = 0x0A01;
public const uint GL_DOMAIN = 0x0A02;
// GetTarget
public const uint GL_CURRENT_COLOR = 0x0B00;
public const uint GL_CURRENT_INDEX = 0x0B01;
public const uint GL_CURRENT_NORMAL = 0x0B02;
public const uint GL_CURRENT_TEXTURE_COORDS = 0x0B03;
public const uint GL_CURRENT_RASTER_COLOR = 0x0B04;
public const uint GL_CURRENT_RASTER_INDEX = 0x0B05;
public const uint GL_CURRENT_RASTER_TEXTURE_COORDS = 0x0B06;
public const uint GL_CURRENT_RASTER_POSITION = 0x0B07;
public const uint GL_CURRENT_RASTER_POSITION_VALID = 0x0B08;
public const uint GL_CURRENT_RASTER_DISTANCE = 0x0B09;
public const uint GL_POINT_SMOOTH = 0x0B10;
public const uint GL_POINT_SIZE = 0x0B11;
public const uint GL_POINT_SIZE_RANGE = 0x0B12;
public const uint GL_POINT_SIZE_GRANULARITY = 0x0B13;
public const uint GL_LINE_SMOOTH = 0x0B20;
public const uint GL_LINE_WIDTH = 0x0B21;
public const uint GL_LINE_WIDTH_RANGE = 0x0B22;
public const uint GL_LINE_WIDTH_GRANULARITY = 0x0B23;
public const uint GL_LINE_STIPPLE = 0x0B24;
public const uint GL_LINE_STIPPLE_PATTERN = 0x0B25;
public const uint GL_LINE_STIPPLE_REPEAT = 0x0B26;
public const uint GL_LIST_MODE = 0x0B30;
public const uint GL_MAX_LIST_NESTING = 0x0B31;
public const uint GL_LIST_BASE = 0x0B32;
public const uint GL_LIST_INDEX = 0x0B33;
public const uint GL_POLYGON_MODE = 0x0B40;
public const uint GL_POLYGON_SMOOTH = 0x0B41;
public const uint GL_POLYGON_STIPPLE = 0x0B42;
public const uint GL_EDGE_FLAG = 0x0B43;
public const uint GL_CULL_FACE = 0x0B44;
public const uint GL_CULL_FACE_MODE = 0x0B45;
public const uint GL_FRONT_FACE = 0x0B46;
public const uint GL_LIGHTING = 0x0B50;
public const uint GL_LIGHT_MODEL_LOCAL_VIEWER = 0x0B51;
public const uint GL_LIGHT_MODEL_TWO_SIDE = 0x0B52;
public const uint GL_LIGHT_MODEL_AMBIENT = 0x0B53;
public const uint GL_SHADE_MODEL = 0x0B54;
public const uint GL_COLOR_MATERIAL_FACE = 0x0B55;
public const uint GL_COLOR_MATERIAL_PARAMETER = 0x0B56;
public const uint GL_COLOR_MATERIAL = 0x0B57;
public const uint GL_FOG = 0x0B60;
public const uint GL_FOG_INDEX = 0x0B61;
public const uint GL_FOG_DENSITY = 0x0B62;
public const uint GL_FOG_START = 0x0B63;
public const uint GL_FOG_END = 0x0B64;
public const uint GL_FOG_MODE = 0x0B65;
public const uint GL_FOG_COLOR = 0x0B66;
public const uint GL_DEPTH_RANGE = 0x0B70;
public const uint GL_DEPTH_TEST = 0x0B71;
public const uint GL_DEPTH_WRITEMASK = 0x0B72;
public const uint GL_DEPTH_CLEAR_VALUE = 0x0B73;
public const uint GL_DEPTH_FUNC = 0x0B74;
public const uint GL_ACCUM_CLEAR_VALUE = 0x0B80;
public const uint GL_STENCIL_TEST = 0x0B90;
public const uint GL_STENCIL_CLEAR_VALUE = 0x0B91;
public const uint GL_STENCIL_FUNC = 0x0B92;
public const uint GL_STENCIL_VALUE_MASK = 0x0B93;
public const uint GL_STENCIL_FAIL = 0x0B94;
public const uint GL_STENCIL_PASS_DEPTH_FAIL = 0x0B95;
public const uint GL_STENCIL_PASS_DEPTH_PASS = 0x0B96;
public const uint GL_STENCIL_REF = 0x0B97;
public const uint GL_STENCIL_WRITEMASK = 0x0B98;
public const uint GL_MATRIX_MODE = 0x0BA0;
public const uint GL_NORMALIZE = 0x0BA1;
public const uint GL_VIEWPORT = 0x0BA2;
public const uint GL_MODELVIEW_STACK_DEPTH = 0x0BA3;
public const uint GL_PROJECTION_STACK_DEPTH = 0x0BA4;
public const uint GL_TEXTURE_STACK_DEPTH = 0x0BA5;
public const uint GL_MODELVIEW_MATRIX = 0x0BA6;
public const uint GL_PROJECTION_MATRIX = 0x0BA7;
public const uint GL_TEXTURE_MATRIX = 0x0BA8;
public const uint GL_ATTRIB_STACK_DEPTH = 0x0BB0;
public const uint GL_CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1;
public const uint GL_ALPHA_TEST = 0x0BC0;
public const uint GL_ALPHA_TEST_FUNC = 0x0BC1;
public const uint GL_ALPHA_TEST_REF = 0x0BC2;
public const uint GL_DITHER = 0x0BD0;
public const uint GL_BLEND_DST = 0x0BE0;
public const uint GL_BLEND_SRC = 0x0BE1;
public const uint GL_BLEND = 0x0BE2;
public const uint GL_LOGIC_OP_MODE = 0x0BF0;
public const uint GL_INDEX_LOGIC_OP = 0x0BF1;
public const uint GL_COLOR_LOGIC_OP = 0x0BF2;
public const uint GL_AUX_BUFFERS = 0x0C00;
public const uint GL_DRAW_BUFFER = 0x0C01;
public const uint GL_READ_BUFFER = 0x0C02;
public const uint GL_SCISSOR_BOX = 0x0C10;
public const uint GL_SCISSOR_TEST = 0x0C11;
public const uint GL_INDEX_CLEAR_VALUE = 0x0C20;
public const uint GL_INDEX_WRITEMASK = 0x0C21;
public const uint GL_COLOR_CLEAR_VALUE = 0x0C22;
public const uint GL_COLOR_WRITEMASK = 0x0C23;
public const uint GL_INDEX_MODE = 0x0C30;
public const uint GL_RGBA_MODE = 0x0C31;
public const uint GL_DOUBLEBUFFER = 0x0C32;
public const uint GL_STEREO = 0x0C33;
public const uint GL_RENDER_MODE = 0x0C40;
public const uint GL_PERSPECTIVE_CORRECTION_HINT = 0x0C50;
public const uint GL_POINT_SMOOTH_HINT = 0x0C51;
public const uint GL_LINE_SMOOTH_HINT = 0x0C52;
public const uint GL_POLYGON_SMOOTH_HINT = 0x0C53;
public const uint GL_FOG_HINT = 0x0C54;
public const uint GL_TEXTURE_GEN_S = 0x0C60;
public const uint GL_TEXTURE_GEN_T = 0x0C61;
public const uint GL_TEXTURE_GEN_R = 0x0C62;
public const uint GL_TEXTURE_GEN_Q = 0x0C63;
public const uint GL_PIXEL_MAP_I_TO_I = 0x0C70;
public const uint GL_PIXEL_MAP_S_TO_S = 0x0C71;
public const uint GL_PIXEL_MAP_I_TO_R = 0x0C72;
public const uint GL_PIXEL_MAP_I_TO_G = 0x0C73;
public const uint GL_PIXEL_MAP_I_TO_B = 0x0C74;
public const uint GL_PIXEL_MAP_I_TO_A = 0x0C75;
public const uint GL_PIXEL_MAP_R_TO_R = 0x0C76;
public const uint GL_PIXEL_MAP_G_TO_G = 0x0C77;
public const uint GL_PIXEL_MAP_B_TO_B = 0x0C78;
public const uint GL_PIXEL_MAP_A_TO_A = 0x0C79;
public const uint GL_PIXEL_MAP_I_TO_I_SIZE = 0x0CB0;
public const uint GL_PIXEL_MAP_S_TO_S_SIZE = 0x0CB1;
public const uint GL_PIXEL_MAP_I_TO_R_SIZE = 0x0CB2;
public const uint GL_PIXEL_MAP_I_TO_G_SIZE = 0x0CB3;
public const uint GL_PIXEL_MAP_I_TO_B_SIZE = 0x0CB4;
public const uint GL_PIXEL_MAP_I_TO_A_SIZE = 0x0CB5;
public const uint GL_PIXEL_MAP_R_TO_R_SIZE = 0x0CB6;
public const uint GL_PIXEL_MAP_G_TO_G_SIZE = 0x0CB7;
public const uint GL_PIXEL_MAP_B_TO_B_SIZE = 0x0CB8;
public const uint GL_PIXEL_MAP_A_TO_A_SIZE = 0x0CB9;
public const uint GL_UNPACK_SWAP_BYTES = 0x0CF0;
public const uint GL_UNPACK_LSB_FIRST = 0x0CF1;
public const uint GL_UNPACK_ROW_LENGTH = 0x0CF2;
public const uint GL_UNPACK_SKIP_ROWS = 0x0CF3;
public const uint GL_UNPACK_SKIP_PIXELS = 0x0CF4;
public const uint GL_UNPACK_ALIGNMENT = 0x0CF5;
public const uint GL_PACK_SWAP_BYTES = 0x0D00;
public const uint GL_PACK_LSB_FIRST = 0x0D01;
public const uint GL_PACK_ROW_LENGTH = 0x0D02;
public const uint GL_PACK_SKIP_ROWS = 0x0D03;
public const uint GL_PACK_SKIP_PIXELS = 0x0D04;
public const uint GL_PACK_ALIGNMENT = 0x0D05;
public const uint GL_MAP_COLOR = 0x0D10;
public const uint GL_MAP_STENCIL = 0x0D11;
public const uint GL_INDEX_SHIFT = 0x0D12;
public const uint GL_INDEX_OFFSET = 0x0D13;
public const uint GL_RED_SCALE = 0x0D14;
public const uint GL_RED_BIAS = 0x0D15;
public const uint GL_ZOOM_X = 0x0D16;
public const uint GL_ZOOM_Y = 0x0D17;
public const uint GL_GREEN_SCALE = 0x0D18;
public const uint GL_GREEN_BIAS = 0x0D19;
public const uint GL_BLUE_SCALE = 0x0D1A;
public const uint GL_BLUE_BIAS = 0x0D1B;
public const uint GL_ALPHA_SCALE = 0x0D1C;
public const uint GL_ALPHA_BIAS = 0x0D1D;
public const uint GL_DEPTH_SCALE = 0x0D1E;
public const uint GL_DEPTH_BIAS = 0x0D1F;
public const uint GL_MAX_EVAL_ORDER = 0x0D30;
public const uint GL_MAX_LIGHTS = 0x0D31;
public const uint GL_MAX_CLIP_PLANES = 0x0D32;
public const uint GL_MAX_TEXTURE_SIZE = 0x0D33;
public const uint GL_MAX_PIXEL_MAP_TABLE = 0x0D34;
public const uint GL_MAX_ATTRIB_STACK_DEPTH = 0x0D35;
public const uint GL_MAX_MODELVIEW_STACK_DEPTH = 0x0D36;
public const uint GL_MAX_NAME_STACK_DEPTH = 0x0D37;
public const uint GL_MAX_PROJECTION_STACK_DEPTH = 0x0D38;
public const uint GL_MAX_TEXTURE_STACK_DEPTH = 0x0D39;
public const uint GL_MAX_VIEWPORT_DIMS = 0x0D3A;
public const uint GL_MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B;
public const uint GL_SUBPIXEL_BITS = 0x0D50;
public const uint GL_INDEX_BITS = 0x0D51;
public const uint GL_RED_BITS = 0x0D52;
public const uint GL_GREEN_BITS = 0x0D53;
public const uint GL_BLUE_BITS = 0x0D54;
public const uint GL_ALPHA_BITS = 0x0D55;
public const uint GL_DEPTH_BITS = 0x0D56;
public const uint GL_STENCIL_BITS = 0x0D57;
public const uint GL_ACCUM_RED_BITS = 0x0D58;
public const uint GL_ACCUM_GREEN_BITS = 0x0D59;
public const uint GL_ACCUM_BLUE_BITS = 0x0D5A;
public const uint GL_ACCUM_ALPHA_BITS = 0x0D5B;
public const uint GL_NAME_STACK_DEPTH = 0x0D70;
public const uint GL_AUTO_NORMAL = 0x0D80;
public const uint GL_MAP1_COLOR_4 = 0x0D90;
public const uint GL_MAP1_INDEX = 0x0D91;
public const uint GL_MAP1_NORMAL = 0x0D92;
public const uint GL_MAP1_TEXTURE_COORD_1 = 0x0D93;
public const uint GL_MAP1_TEXTURE_COORD_2 = 0x0D94;
public const uint GL_MAP1_TEXTURE_COORD_3 = 0x0D95;
public const uint GL_MAP1_TEXTURE_COORD_4 = 0x0D96;
public const uint GL_MAP1_VERTEX_3 = 0x0D97;
public const uint GL_MAP1_VERTEX_4 = 0x0D98;
public const uint GL_MAP2_COLOR_4 = 0x0DB0;
public const uint GL_MAP2_INDEX = 0x0DB1;
public const uint GL_MAP2_NORMAL = 0x0DB2;
public const uint GL_MAP2_TEXTURE_COORD_1 = 0x0DB3;
public const uint GL_MAP2_TEXTURE_COORD_2 = 0x0DB4;
public const uint GL_MAP2_TEXTURE_COORD_3 = 0x0DB5;
public const uint GL_MAP2_TEXTURE_COORD_4 = 0x0DB6;
public const uint GL_MAP2_VERTEX_3 = 0x0DB7;
public const uint GL_MAP2_VERTEX_4 = 0x0DB8;
public const uint GL_MAP1_GRID_DOMAIN = 0x0DD0;
public const uint GL_MAP1_GRID_SEGMENTS = 0x0DD1;
public const uint GL_MAP2_GRID_DOMAIN = 0x0DD2;
public const uint GL_MAP2_GRID_SEGMENTS = 0x0DD3;
public const uint GL_TEXTURE_1D = 0x0DE0;
public const uint GL_TEXTURE_2D = 0x0DE1;
public const uint GL_FEEDBACK_BUFFER_POINTER = 0x0DF0;
public const uint GL_FEEDBACK_BUFFER_SIZE = 0x0DF1;
public const uint GL_FEEDBACK_BUFFER_TYPE = 0x0DF2;
public const uint GL_SELECTION_BUFFER_POINTER = 0x0DF3;
public const uint GL_SELECTION_BUFFER_SIZE = 0x0DF4;
// GetTextureParameter
public const uint GL_TEXTURE_WIDTH = 0x1000;
public const uint GL_TEXTURE_HEIGHT = 0x1001;
public const uint GL_TEXTURE_INTERNAL_FORMAT = 0x1003;
public const uint GL_TEXTURE_BORDER_COLOR = 0x1004;
public const uint GL_TEXTURE_BORDER = 0x1005;
// HintMode
public const uint GL_DONT_CARE = 0x1100;
public const uint GL_FASTEST = 0x1101;
public const uint GL_NICEST = 0x1102;
// LightName
public const uint GL_LIGHT0 = 0x4000;
public const uint GL_LIGHT1 = 0x4001;
public const uint GL_LIGHT2 = 0x4002;
public const uint GL_LIGHT3 = 0x4003;
public const uint GL_LIGHT4 = 0x4004;
public const uint GL_LIGHT5 = 0x4005;
public const uint GL_LIGHT6 = 0x4006;
public const uint GL_LIGHT7 = 0x4007;
// LightParameter
public const uint GL_AMBIENT = 0x1200;
public const uint GL_DIFFUSE = 0x1201;
public const uint GL_SPECULAR = 0x1202;
public const uint GL_POSITION = 0x1203;
public const uint GL_SPOT_DIRECTION = 0x1204;
public const uint GL_SPOT_EXPONENT = 0x1205;
public const uint GL_SPOT_CUTOFF = 0x1206;
public const uint GL_CONSTANT_ATTENUATION = 0x1207;
public const uint GL_LINEAR_ATTENUATION = 0x1208;
public const uint GL_QUADRATIC_ATTENUATION = 0x1209;
// ListMode
public const uint GL_COMPILE = 0x1300;
public const uint GL_COMPILE_AND_EXECUTE = 0x1301;
// LogicOp
public const uint GL_CLEAR = 0x1500;
public const uint GL_AND = 0x1501;
public const uint GL_AND_REVERSE = 0x1502;
public const uint GL_COPY = 0x1503;
public const uint GL_AND_INVERTED = 0x1504;
public const uint GL_NOOP = 0x1505;
public const uint GL_XOR = 0x1506;
public const uint GL_OR = 0x1507;
public const uint GL_NOR = 0x1508;
public const uint GL_EQUIV = 0x1509;
public const uint GL_INVERT = 0x150A;
public const uint GL_OR_REVERSE = 0x150B;
public const uint GL_COPY_INVERTED = 0x150C;
public const uint GL_OR_INVERTED = 0x150D;
public const uint GL_NAND = 0x150E;
public const uint GL_SET = 0x150F;
// MaterialParameter
public const uint GL_EMISSION = 0x1600;
public const uint GL_SHININESS = 0x1601;
public const uint GL_AMBIENT_AND_DIFFUSE = 0x1602;
public const uint GL_COLOR_INDEXES = 0x1603;
// MatrixMode
public const uint GL_MODELVIEW = 0x1700;
public const uint GL_PROJECTION = 0x1701;
public const uint GL_TEXTURE = 0x1702;
// PixelCopyType
public const uint GL_COLOR = 0x1800;
public const uint GL_DEPTH = 0x1801;
public const uint GL_STENCIL = 0x1802;
// PixelFormat
public const uint GL_COLOR_INDEX = 0x1900;
public const uint GL_STENCIL_INDEX = 0x1901;
public const uint GL_DEPTH_COMPONENT = 0x1902;
public const uint GL_RED = 0x1903;
public const uint GL_GREEN = 0x1904;
public const uint GL_BLUE = 0x1905;
public const uint GL_ALPHA = 0x1906;
public const uint GL_RGB = 0x1907;
public const uint GL_RGBA = 0x1908;
public const uint GL_LUMINANCE = 0x1909;
public const uint GL_LUMINANCE_ALPHA = 0x190A;
// PixelType
public const uint GL_BITMAP = 0x1A00;
// PolygonMode
public const uint GL_POINT = 0x1B00;
public const uint GL_LINE = 0x1B01;
public const uint GL_FILL = 0x1B02;
// RenderingMode
public const uint GL_RENDER = 0x1C00;
public const uint GL_FEEDBACK = 0x1C01;
public const uint GL_SELECT = 0x1C02;
// ShadingModel
public const uint GL_FLAT = 0x1D00;
public const uint GL_SMOOTH = 0x1D01;
// StencilOp
public const uint GL_KEEP = 0x1E00;
public const uint GL_REPLACE = 0x1E01;
public const uint GL_INCR = 0x1E02;
public const uint GL_DECR = 0x1E03;
// StringName
public const uint GL_VENDOR = 0x1F00;
public const uint GL_RENDERER = 0x1F01;
public const uint GL_VERSION = 0x1F02;
public const uint GL_EXTENSIONS = 0x1F03;
// TextureCoordName
public const uint GL_S = 0x2000;
public const uint GL_T = 0x2001;
public const uint GL_R = 0x2002;
public const uint GL_Q = 0x2003;
// TextureEnvMode
public const uint GL_MODULATE = 0x2100;
public const uint GL_DECAL = 0x2101;
// TextureEnvParameter
public const uint GL_TEXTURE_ENV_MODE = 0x2200;
public const uint GL_TEXTURE_ENV_COLOR = 0x2201;
// TextureEnvTarget
public const uint GL_TEXTURE_ENV = 0x2300;
// TextureGenMode
public const uint GL_EYE_LINEAR = 0x2400;
public const uint GL_OBJECT_LINEAR = 0x2401;
public const uint GL_SPHERE_MAP = 0x2402;
// TextureGenParameter
public const uint GL_TEXTURE_GEN_MODE = 0x2500;
public const uint GL_OBJECT_PLANE = 0x2501;
public const uint GL_EYE_PLANE = 0x2502;
// TextureMagFilter
public const uint GL_NEAREST = 0x2600;
public const uint GL_LINEAR = 0x2601;
// TextureMinFilter
public const uint GL_NEAREST_MIPMAP_NEAREST = 0x2700;
public const uint GL_LINEAR_MIPMAP_NEAREST = 0x2701;
public const uint GL_NEAREST_MIPMAP_LINEAR = 0x2702;
public const uint GL_LINEAR_MIPMAP_LINEAR = 0x2703;
// TextureParameterName
public const uint GL_TEXTURE_MAG_FILTER = 0x2800;
public const uint GL_TEXTURE_MIN_FILTER = 0x2801;
public const uint GL_TEXTURE_WRAP_S = 0x2802;
public const uint GL_TEXTURE_WRAP_T = 0x2803;
// TextureWrapMode
public const uint GL_CLAMP = 0x2900;
public const uint GL_REPEAT = 0x2901;
// ClientAttribMask
public const uint GL_CLIENT_PIXEL_STORE_BIT = 0x00000001;
public const uint GL_CLIENT_VERTEX_ARRAY_BIT = 0x00000002;
public const uint GL_CLIENT_ALL_ATTRIB_BITS = 0xffffffff;
// Polygon Offset
public const uint GL_POLYGON_OFFSET_FACTOR = 0x8038;
public const uint GL_POLYGON_OFFSET_UNITS = 0x2A00;
public const uint GL_POLYGON_OFFSET_POINT = 0x2A01;
public const uint GL_POLYGON_OFFSET_LINE = 0x2A02;
public const uint GL_POLYGON_OFFSET_FILL = 0x8037;
// Texture
public const uint GL_ALPHA4 = 0x803B;
public const uint GL_ALPHA8 = 0x803C;
public const uint GL_ALPHA12 = 0x803D;
public const uint GL_ALPHA16 = 0x803E;
public const uint GL_LUMINANCE4 = 0x803F;
public const uint GL_LUMINANCE8 = 0x8040;
public const uint GL_LUMINANCE12 = 0x8041;
public const uint GL_LUMINANCE16 = 0x8042;
public const uint GL_LUMINANCE4_ALPHA4 = 0x8043;
public const uint GL_LUMINANCE6_ALPHA2 = 0x8044;
public const uint GL_LUMINANCE8_ALPHA8 = 0x8045;
public const uint GL_LUMINANCE12_ALPHA4 = 0x8046;
public const uint GL_LUMINANCE12_ALPHA12 = 0x8047;
public const uint GL_LUMINANCE16_ALPHA16 = 0x8048;
public const uint GL_INTENSITY = 0x8049;
public const uint GL_INTENSITY4 = 0x804A;
public const uint GL_INTENSITY8 = 0x804B;
public const uint GL_INTENSITY12 = 0x804C;
public const uint GL_INTENSITY16 = 0x804D;
public const uint GL_R3_G3_B2 = 0x2A10;
public const uint GL_RGB4 = 0x804F;
public const uint GL_RGB5 = 0x8050;
public const uint GL_RGB8 = 0x8051;
public const uint GL_RGB10 = 0x8052;
public const uint GL_RGB12 = 0x8053;
public const uint GL_RGB16 = 0x8054;
public const uint GL_RGBA2 = 0x8055;
public const uint GL_RGBA4 = 0x8056;
public const uint GL_RGB5_A1 = 0x8057;
public const uint GL_RGBA8 = 0x8058;
public const uint GL_RGB10_A2 = 0x8059;
public const uint GL_RGBA12 = 0x805A;
public const uint GL_RGBA16 = 0x805B;
public const uint GL_TEXTURE_RED_SIZE = 0x805C;
public const uint GL_TEXTURE_GREEN_SIZE = 0x805D;
public const uint GL_TEXTURE_BLUE_SIZE = 0x805E;
public const uint GL_TEXTURE_ALPHA_SIZE = 0x805F;
public const uint GL_TEXTURE_LUMINANCE_SIZE = 0x8060;
public const uint GL_TEXTURE_INTENSITY_SIZE = 0x8061;
public const uint GL_PROXY_TEXTURE_1D = 0x8063;
public const uint GL_PROXY_TEXTURE_2D = 0x8064;
// Texture object
public const uint GL_TEXTURE_PRIORITY = 0x8066;
public const uint GL_TEXTURE_RESIDENT = 0x8067;
public const uint GL_TEXTURE_BINDING_1D = 0x8068;
public const uint GL_TEXTURE_BINDING_2D = 0x8069;
// Vertex array
public const uint GL_VERTEX_ARRAY = 0x8074;
public const uint GL_NORMAL_ARRAY = 0x8075;
public const uint GL_COLOR_ARRAY = 0x8076;
public const uint GL_INDEX_ARRAY = 0x8077;
public const uint GL_TEXTURE_COORD_ARRAY = 0x8078;
public const uint GL_EDGE_FLAG_ARRAY = 0x8079;
public const uint GL_VERTEX_ARRAY_SIZE = 0x807A;
public const uint GL_VERTEX_ARRAY_TYPE = 0x807B;
public const uint GL_VERTEX_ARRAY_STRIDE = 0x807C;
public const uint GL_NORMAL_ARRAY_TYPE = 0x807E;
public const uint GL_NORMAL_ARRAY_STRIDE = 0x807F;
public const uint GL_COLOR_ARRAY_SIZE = 0x8081;
public const uint GL_COLOR_ARRAY_TYPE = 0x8082;
public const uint GL_COLOR_ARRAY_STRIDE = 0x8083;
public const uint GL_INDEX_ARRAY_TYPE = 0x8085;
public const uint GL_INDEX_ARRAY_STRIDE = 0x8086;
public const uint GL_TEXTURE_COORD_ARRAY_SIZE = 0x8088;
public const uint GL_TEXTURE_COORD_ARRAY_TYPE = 0x8089;
public const uint GL_TEXTURE_COORD_ARRAY_STRIDE = 0x808A;
public const uint GL_EDGE_FLAG_ARRAY_STRIDE = 0x808C;
public const uint GL_VERTEX_ARRAY_POINTER = 0x808E;
public const uint GL_NORMAL_ARRAY_POINTER = 0x808F;
public const uint GL_COLOR_ARRAY_POINTER = 0x8090;
public const uint GL_INDEX_ARRAY_POINTER = 0x8091;
public const uint GL_TEXTURE_COORD_ARRAY_POINTER = 0x8092;
public const uint GL_EDGE_FLAG_ARRAY_POINTER = 0x8093;
public const uint GL_V2F = 0x2A20;
public const uint GL_V3F = 0x2A21;
public const uint GL_C4UB_V2F = 0x2A22;
public const uint GL_C4UB_V3F = 0x2A23;
public const uint GL_C3F_V3F = 0x2A24;
public const uint GL_N3F_V3F = 0x2A25;
public const uint GL_C4F_N3F_V3F = 0x2A26;
public const uint GL_T2F_V3F = 0x2A27;
public const uint GL_T4F_V4F = 0x2A28;
public const uint GL_T2F_C4UB_V3F = 0x2A29;
public const uint GL_T2F_C3F_V3F = 0x2A2A;
public const uint GL_T2F_N3F_V3F = 0x2A2B;
public const uint GL_T2F_C4F_N3F_V3F = 0x2A2C;
public const uint GL_T4F_C4F_N3F_V4F = 0x2A2D;
// Extensions
public const uint GL_EXT_vertex_array = 1;
public const uint GL_EXT_bgra = 1;
public const uint GL_EXT_paletted_texture = 1;
public const uint GL_WIN_swap_hint = 1;
public const uint GL_WIN_draw_range_elements = 1;
// EXT_vertex_array
public const uint GL_VERTEX_ARRAY_EXT = 0x8074;
public const uint GL_NORMAL_ARRAY_EXT = 0x8075;
public const uint GL_COLOR_ARRAY_EXT = 0x8076;
public const uint GL_INDEX_ARRAY_EXT = 0x8077;
public const uint GL_TEXTURE_COORD_ARRAY_EXT = 0x8078;
public const uint GL_EDGE_FLAG_ARRAY_EXT = 0x8079;
public const uint GL_VERTEX_ARRAY_SIZE_EXT = 0x807A;
public const uint GL_VERTEX_ARRAY_TYPE_EXT = 0x807B;
public const uint GL_VERTEX_ARRAY_STRIDE_EXT = 0x807C;
public const uint GL_VERTEX_ARRAY_COUNT_EXT = 0x807D;
public const uint GL_NORMAL_ARRAY_TYPE_EXT = 0x807E;
public const uint GL_NORMAL_ARRAY_STRIDE_EXT = 0x807F;
public const uint GL_NORMAL_ARRAY_COUNT_EXT = 0x8080;
public const uint GL_COLOR_ARRAY_SIZE_EXT = 0x8081;
public const uint GL_COLOR_ARRAY_TYPE_EXT = 0x8082;
public const uint GL_COLOR_ARRAY_STRIDE_EXT = 0x8083;
public const uint GL_COLOR_ARRAY_COUNT_EXT = 0x8084;
public const uint GL_INDEX_ARRAY_TYPE_EXT = 0x8085;
public const uint GL_INDEX_ARRAY_STRIDE_EXT = 0x8086;
public const uint GL_INDEX_ARRAY_COUNT_EXT = 0x8087;
public const uint GL_TEXTURE_COORD_ARRAY_SIZE_EXT = 0x8088;
public const uint GL_TEXTURE_COORD_ARRAY_TYPE_EXT = 0x8089;
public const uint GL_TEXTURE_COORD_ARRAY_STRIDE_EXT = 0x808A;
public const uint GL_TEXTURE_COORD_ARRAY_COUNT_EXT = 0x808B;
public const uint GL_EDGE_FLAG_ARRAY_STRIDE_EXT = 0x808C;
public const uint GL_EDGE_FLAG_ARRAY_COUNT_EXT = 0x808D;
public const uint GL_VERTEX_ARRAY_POINTER_EXT = 0x808E;
public const uint GL_NORMAL_ARRAY_POINTER_EXT = 0x808F;
public const uint GL_COLOR_ARRAY_POINTER_EXT = 0x8090;
public const uint GL_INDEX_ARRAY_POINTER_EXT = 0x8091;
public const uint GL_TEXTURE_COORD_ARRAY_POINTER_EXT = 0x8092;
public const uint GL_EDGE_FLAG_ARRAY_POINTER_EXT = 0x8093;
public const uint GL_DOUBLE_EXT =1;/*DOUBLE*/
// EXT_paletted_texture
public const uint GL_COLOR_TABLE_FORMAT_EXT = 0x80D8;
public const uint GL_COLOR_TABLE_WIDTH_EXT = 0x80D9;
public const uint GL_COLOR_TABLE_RED_SIZE_EXT = 0x80DA;
public const uint GL_COLOR_TABLE_GREEN_SIZE_EXT = 0x80DB;
public const uint GL_COLOR_TABLE_BLUE_SIZE_EXT = 0x80DC;
public const uint GL_COLOR_TABLE_ALPHA_SIZE_EXT = 0x80DD;
public const uint GL_COLOR_TABLE_LUMINANCE_SIZE_EXT = 0x80DE;
public const uint GL_COLOR_TABLE_INTENSITY_SIZE_EXT = 0x80DF;
public const uint GL_COLOR_INDEX1_EXT = 0x80E2;
public const uint GL_COLOR_INDEX2_EXT = 0x80E3;
public const uint GL_COLOR_INDEX4_EXT = 0x80E4;
public const uint GL_COLOR_INDEX8_EXT = 0x80E5;
public const uint GL_COLOR_INDEX12_EXT = 0x80E6;
public const uint GL_COLOR_INDEX16_EXT = 0x80E7;
// WIN_draw_range_elements
public const uint GL_MAX_ELEMENTS_VERTICES_WIN = 0x80E8;
public const uint GL_MAX_ELEMENTS_INDICES_WIN = 0x80E9;
// WIN_phong_shading
public const uint GL_PHONG_WIN = 0x80EA;
public const uint GL_PHONG_HINT_WIN = 0x80EB;
// WIN_specular_fog
public uint FOG_SPECULAR_TEXTURE_WIN = 0x80EC;
#endregion
#region The GLU DLL Constant Definitions.
// Version
public const uint GLU_VERSION_1_1 = 1;
public const uint GLU_VERSION_1_2 = 1;
// Errors: (return value 0 = no error)
public const uint GLU_INVALID_ENUM = 100900;
public const uint GLU_INVALID_VALUE = 100901;
public const uint GLU_OUT_OF_MEMORY = 100902;
public const uint GLU_INCOMPATIBLE_GL_VERSION = 100903;
// StringName
public const uint GLU_VERSION = 100800;
public const uint GLU_EXTENSIONS = 100801;
// Boolean
public const uint GLU_TRUE = 1;
public const uint GLU_FALSE = 0;
// Quadric constants
// QuadricNormal
public const uint GLU_SMOOTH = 100000;
public const uint GLU_FLAT = 100001;
public const uint GLU_NONE = 100002;
// QuadricDrawStyle
public const uint GLU_POINT = 100010;
public const uint GLU_LINE = 100011;
public const uint GLU_FILL = 100012;
public const uint GLU_SILHOUETTE = 100013;
// QuadricOrientation
public const uint GLU_OUTSIDE = 100020;
public const uint GLU_INSIDE = 100021;
// Tesselation constants
public const double GLU_TESS_MAX_COORD = 1.0e150;
// TessProperty
public const uint GLU_TESS_WINDING_RULE =100140;
public const uint GLU_TESS_BOUNDARY_ONLY =100141;
public const uint GLU_TESS_TOLERANCE =100142;
// TessWinding
public const uint GLU_TESS_WINDING_ODD =100130;
public const uint GLU_TESS_WINDING_NONZERO =100131;
public const uint GLU_TESS_WINDING_POSITIVE =100132;
public const uint GLU_TESS_WINDING_NEGATIVE =100133;
public const uint GLU_TESS_WINDING_ABS_GEQ_TWO =100134;
// TessCallback
public const uint GLU_TESS_BEGIN =100100;
public const uint GLU_TESS_VERTEX =100101;
public const uint GLU_TESS_END =100102;
public const uint GLU_TESS_ERROR =100103;
public const uint GLU_TESS_EDGE_FLAG =100104;
public const uint GLU_TESS_COMBINE =100105;
public const uint GLU_TESS_BEGIN_DATA =100106;
public const uint GLU_TESS_VERTEX_DATA =100107;
public const uint GLU_TESS_END_DATA =100108;
public const uint GLU_TESS_ERROR_DATA =100109;
public const uint GLU_TESS_EDGE_FLAG_DATA =100110;
public const uint GLU_TESS_COMBINE_DATA =100111;
// TessError
public const uint GLU_TESS_ERROR1 =100151;
public const uint GLU_TESS_ERROR2 =100152;
public const uint GLU_TESS_ERROR3 =100153;
public const uint GLU_TESS_ERROR4 =100154;
public const uint GLU_TESS_ERROR5 =100155;
public const uint GLU_TESS_ERROR6 =100156;
public const uint GLU_TESS_ERROR7 =100157;
public const uint GLU_TESS_ERROR8 =100158;
public const uint GLU_TESS_MISSING_BEGIN_POLYGON =100151;
public const uint GLU_TESS_MISSING_BEGIN_CONTOUR =100152;
public const uint GLU_TESS_MISSING_END_POLYGON =100153;
public const uint GLU_TESS_MISSING_END_CONTOUR =100154;
public const uint GLU_TESS_COORD_TOO_LARGE =100155;
public const uint GLU_TESS_NEED_COMBINE_CALLBACK =100156;
// NURBS constants
// NurbsProperty
public const uint GLU_AUTO_LOAD_MATRIX =100200;
public const uint GLU_CULLING =100201;
public const uint GLU_SAMPLING_TOLERANCE =100203;
public const uint GLU_DISPLAY_MODE =100204;
public const uint GLU_PARAMETRIC_TOLERANCE =100202;
public const uint GLU_SAMPLING_METHOD =100205;
public const uint GLU_U_STEP =100206;
public const uint GLU_V_STEP =100207;
// NurbsSampling
public const uint GLU_PATH_LENGTH =100215;
public const uint GLU_PARAMETRIC_ERROR =100216;
public const uint GLU_DOMAIN_DISTANCE =100217;
// NurbsTrim
public const uint GLU_MAP1_TRIM_2 =100210;
public const uint GLU_MAP1_TRIM_3 =100211;
// NurbsDisplay
// GLU_FILL 100012
public const uint GLU_OUTLINE_POLYGON =100240;
public const uint GLU_OUTLINE_PATCH =100241;
// NurbsCallback
// GLU_ERROR 100103
// NurbsErrors
public const uint GLU_NURBS_ERROR1 =100251;
public const uint GLU_NURBS_ERROR2 =100252;
public const uint GLU_NURBS_ERROR3 =100253;
public const uint GLU_NURBS_ERROR4 =100254;
public const uint GLU_NURBS_ERROR5 =100255;
public const uint GLU_NURBS_ERROR6 =100256;
public const uint GLU_NURBS_ERROR7 =100257;
public const uint GLU_NURBS_ERROR8 =100258;
public const uint GLU_NURBS_ERROR9 =100259;
public const uint GLU_NURBS_ERROR10 =100260;
public const uint GLU_NURBS_ERROR11 =100261;
public const uint GLU_NURBS_ERROR12 =100262;
public const uint GLU_NURBS_ERROR13 =100263;
public const uint GLU_NURBS_ERROR14 =100264;
public const uint GLU_NURBS_ERROR15 =100265;
public const uint GLU_NURBS_ERROR16 =100266;
public const uint GLU_NURBS_ERROR17 =100267;
public const uint GLU_NURBS_ERROR18 =100268;
public const uint GLU_NURBS_ERROR19 =100269;
public const uint GLU_NURBS_ERROR20 =100270;
public const uint GLU_NURBS_ERROR21 =100271;
public const uint GLU_NURBS_ERROR22 =100272;
public const uint GLU_NURBS_ERROR23 =100273;
public const uint GLU_NURBS_ERROR24 =100274;
public const uint GLU_NURBS_ERROR25 =100275;
public const uint GLU_NURBS_ERROR26 =100276;
public const uint GLU_NURBS_ERROR27 =100277;
public const uint GLU_NURBS_ERROR28 =100278;
public const uint GLU_NURBS_ERROR29 =100279;
public const uint GLU_NURBS_ERROR30 =100280;
public const uint GLU_NURBS_ERROR31 =100281;
public const uint GLU_NURBS_ERROR32 =100282;
public const uint GLU_NURBS_ERROR33 =100283;
public const uint GLU_NURBS_ERROR34 =100284;
public const uint GLU_NURBS_ERROR35 =100285;
public const uint GLU_NURBS_ERROR36 =100286;
public const uint GLU_NURBS_ERROR37 =100287;
#endregion
#region The OpenGL DLL Functions (Exactly the same naming).
public const string LIBRARY_OPENGL = "opengl32.dll";
Declare Function opengl32 down load Lib "opengl32.dll" (TODO) As TODO
User-Defined Types:
None.
Alternative Managed API:
Do you know one? Please contribute it!
Notes:
None.
Tips & Tricks:
Please add some!
Sample Code:
Please add some!
TODO - a short description
4/23/2021 1:20:23 AM - -81.214.17.230
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.
1/13/2008 4:00:13 AM - Damon Carr-72.43.165.29
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.
1/13/2008 4:00:13 AM - Damon Carr-72.43.165.29
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.
1/13/2008 4:00:13 AM - Damon Carr-72.43.165.29
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.
1/13/2008 4:00:13 AM - Damon Carr-72.43.165.29
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.
1/13/2008 4:00:13 AM - Damon Carr-72.43.165.29
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.
1/13/2008 4:00:13 AM - Damon Carr-72.43.165.29
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.
1/13/2008 4:00:13 AM - Damon Carr-72.43.165.29
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.
1/13/2008 4:00:13 AM - Damon Carr-72.43.165.29
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.
1/13/2008 4:00:13 AM - Damon Carr-72.43.165.29
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.
1/13/2008 4:00:13 AM - Damon Carr-72.43.165.29
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.
1/13/2008 4:00:13 AM - Damon Carr-72.43.165.29
An IntPtr is a pointer to a memory location (unmanaged) that adapts to the platform it is running on (64-bit, etc.) UNLIKE a standard int/Integer. You should always use this type for unmanaged calls that require it, even though an int will appear to work on your development machine.
1/13/2008 4:00:13 AM - Damon Carr-72.43.165.29
Please edit this page!
Do you have...
helpful tips or sample code to share for using this API in managed code?
corrections to the existing content?
variations of the signature you want to share?
additional languages you want to include?
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).